java program to find positive or negative number